module.export = (http)=>{
    const io = require('socket.io')(http);
    io.on('connection',function (socket) {
        socket.on('login',function (obj) {
           io.emit('online')
        });
    })
}
